<?php
namespace qiuzhizhe\Model;
use Think\Model;

class UserModel extends Model {
    protected $tableName="jobhunter";
    public function getUserNameById($id) {
        return $this->find(1)['username'];
    }
}